package com.zsy.service.Impl;

import com.zsy.mapper.electric_power_Mapper;
import com.zsy.pojo.Electric_Power;
import com.zsy.service.electric_power_Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class electric_power_ServiceImpl implements electric_power_Service {

    @Autowired
    private electric_power_Mapper electric_power_mapper;

    @Override
    public Electric_Power findByElectricPowerRecordId(int record_id) {
        return electric_power_mapper.findByElectricPowerRecordId(record_id);
    }

    @Override
    public int getAll() {
        return electric_power_mapper.getAll();
    }
}
